export interface PageMainDataType {
    banners: Array<RotationChartType>;
    list: Array<Object>;
}

export interface RotationChartType {
    aboveAd: number;
    cover: string;
    id: string;
    mode: string;
    msgId: number;
    name: string;
    p_action: number;
    p_id: string;
    title: string;
    url: string;
}
export interface HomeDataType {
    ranking: {
        title: Array<string>,
    };
    // book_class: Array<Object>;
    // title: string;
    // ban: Array<string>
    // zb_recommend: {
    //     title: string,
    //     book: Array<Object>
    // }
    // quick_search: Array<Object>;
    // potential_newbook: {
    //     title: string;
    //     boy: Array<Object>;
    //     girl: Array<Object>;
    //     sub_classification: Array<string>;
    // };
    // boys_novels: {
    //     title: string;
    //     interface_data: Array<Object>;
    //     book: Object
    // }
    // girl_novels: {
    //     title: string;
    //     interface_data: Array<Object>;
    //     book: Object
    // }
    // monthly_subscription: {
    //     title: string,
    //     book: Array<Object>
    // }
    // okami: {
    //     title: string,
    //     book: Object
    // }
}

export interface HomeClassifyDataType{
    name:string
}

export interface HomeClassificationType{
    title:string
}

export interface bookDetailType{
    entry:{
        "pris:book":{
            category:String
        },
        title:String,
        author:{
            name:String
        },
        summary:String
        link:Array<{href:String}>
    },
}